package cn.iocoder.yudao.module.wms.controller.admin.inventory.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Schema(description = "管理后台 - 库存记录出入库 Request VO")
@Data
public class InventoryRecordInOutReqVO {

    @NotBlank(message = "商品不能为空")
    @Schema(description = "商品id", example = "5088")
    private String cid;

    // @Schema(description = "商品名", example = "芋艿")
    // private String name;

    @NotNull(message = "商品数量不能为空")
    @Schema(description = "数量", example = "16915")
    private Integer count;

    @Schema(description = "备注", example = "随便")
    private String description;

    // @Schema(description = "-1出库、1入库", example = "2")
    // private Integer type;

    @NotBlank(message = "仓库不能为空")
    @Schema(description = "仓库id", example = "22071")
    private String wid;

}